﻿
@namespace BootstrapBlazorApp.OnlyServer.Pages.Main

<Button  Text="mlick" OnClick="OnClick" />

@if(RazorB != null)
{
    <h1>RazorB exists</h1>
}

@code {


    [Parameter]
    public ComponentBase? RazorB{ get; set; }

    [Parameter]
    public EventCallback<ComponentBase?> RazorBChaned{ get;set; }

    [Parameter]
    public ComponentBase? RaozrC{ get; set; }

    Task OnClick()
    {


        return Task.CompletedTask;
    }
    protected override void OnInitialized()
    {
        base.OnInitialized();
    }

    protected override void OnParametersSet()
    {
        base.OnParametersSet();
    }

    protected override void OnAfterRender(bool firstRender)
    {
        base.OnAfterRender(firstRender);
    }
}
